package br.com.cnpv.modelo.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;

@Entity
@Table(name="combustivel")
@NamedQueries(
		{ 
			@NamedQuery(name="Combustivel.buscar", query="select c from Combustivel c where c.dsCombustivel like :dsCombustivel"),
			@NamedQuery(name="Combustivel.listar", query="select c from Combustivel c ")
		}
	)
public class Combustivel {
	
	@Id
	@Column(name="id")
	private Integer id;
	
	@Column(name="ds_combustivel")
	private String dsCombustivel;
	
	@Column(name="dt_incl")
	private Date dtIncl;
	
	@Column(name="dt_alter")
	private Date dtAlter;
	
	@Column(name="dt_inat")
	private Date dtInat;
	
	@Column(name="id_usuario")
	private String idUsuario;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getDsCombustivel() {
		return dsCombustivel;
	}

	public void setDsCombustivel(String dsCombustivel) {
		this.dsCombustivel = dsCombustivel;
	}

	public Date getDtIncl() {
		return dtIncl;
	}

	public void setDtIncl(Date dtIncl) {
		this.dtIncl = dtIncl;
	}

	public Date getDtAlter() {
		return dtAlter;
	}

	public void setDtAlter(Date dtAlter) {
		this.dtAlter = dtAlter;
	}

	public Date getDtInat() {
		return dtInat;
	}

	public void setDtInat(Date dtInat) {
		this.dtInat = dtInat;
	}

	public String getIdUsuario() {
		return idUsuario;
	}

	public void setIdUsuario(String idUsuario) {
		this.idUsuario = idUsuario;
	}


}